import request from '@/utils/request'
//搜索好友
export const findFriednService = (data) => {
        return request.get('/friend/find', {
            params: { sign: data }
        });
    }
    //添加好友
export const addFriendSerivce = (data) => {
    return request.post('/chat/addFriend', data)
}

//同意好友申请

export const agreeFriendService = (data) => {
    return request.post('/chat/agreeFriend', data)
}

//拒绝好友申请
export const noAgreeFriendService = (data) => {
    return request.post('/chat/noAgreeFriend', data)
}